const cloud = require('@alipay/faas-server-sdk');
exports.main = async (event, context) => {
  const db = cloud.database();
  // 根据订单id查订单详情
  const order = await db.collection("mall_order_info").doc(event.id).get();
  console.log('order:', order);
  return order
};